Jira (PUP-3021) User resource on AIX returns a non-working structure or 'attributes'
Title: Message Title Rich Acosta updated an issue Puppet / PUP-3021 User resource on AIX returns a non-working structure or 'attributes' Change By: Rich Acosta The `user` resource on AIX returns back non-working Puppet code for the 'attributes' key.Example:{code:title=puppet resource user root|borderStyle=solid}# puppet resource user root | tee /tmp/root.ppuser { 'root': ensure => 'present', attributes => {'account_locked' => 'false', 'admin' => 'true', 'auditclasses' => 'general', 'auth1' => 'SYSTEM', 'auth2' => 'NONE', 'core' => '-1', 'cpu' => '-1', 'daemon' => 'true', 'data' => '-1', 'fsize' => '-1', 'histexpire' => '0', 'histsize' => '0', 'host_last_login' => 'removed.example.com', 'host_last_unsuccessful_login' => 'removed.example.com', 'login' => 'true', 'loginretries' => '0', 'maxexpired' => '-1', 'maxrepeats' => '8', 'minalpha' => '0', 'mindiff' => '0', 'mindigit' => '0', 'minlen' => '0', 'minloweralpha' => '0', 'minother' => '0', 'minspecialchar' => '0', 'minupperalpha' => '0', 'name' => 'root', 'nofiles' => '2000', 'pwdwarntime' => '0', 'registry' => 'files', 'rlogin' => 'true', 'rss' => '-1', 'stack' => '-1', 'su' => 'true', 'sugroups' => 'ALL', 'system' => 'compat', 'time_last_login' => '1407248916', 'time_last_unsuccessful_login' => '1407184651', 'tpath' => 'nosak', 'tty_last_login' => '/dev/pts/1', 'tty_last_unsuccessful_login' => 'ssh', 'ttys' => 'ALL', 'umask' => '22', 'unsuccessful_login_count' => '0'}, comment => 'root', expiry => '2032-12-31', gid => '0', groups => ['system', 'bin', 'sys', 'security', 'cron', 'audit', 'lp'], home => '/', password => 'WuthH/s1ny/5s', password_max_age => '0', password_min_age => '0', shell=> '/bin/ksh', uid => '0',}{code}And then running the same code through puppet apply:{code:title=puppet apply root.pp|borderStyle=solid}# puppet apply /tmp/root.ppNotice: Compiled catalog for myhost.example.com in environment production in 0.28 secondsError: Parameter attributes failed on User[root]: Attributes value pairs must be separated by an = at /tmp/root.pp:14Wrapped exception:Attributes value pairs must be separated by an ={code}The issue seems to stem from the attributes field. `puppet resource` outputs a key/value object for attributes, while puppet apply seems to expect an array with key=value parts in it as a string.Changing it to an array of key=value pairs results in a still broken setup. Puppet resource outputs several key/value pairs that are NOT items that can be changed via the chuser command it runs under the covers. It should not return the 'name' or the 'system' keys.This was my working root.pp file:{code:title=root.pp}user { 'root': ensure => 'present', attributes => ['account_locked=false', 'admin=true', 'auditclasses=general', 'auth1=SYSTEM', 'auth2=NONE', 'core=-1', 'cpu=-1', 'daemon=true', 'data="" 'fsize=-1', 'histexpire=0', 'histsize=0', 'host_last_login= njros1ud710 removed . prudential example .com', 'ho
Jira (PUP-3021) User resource on AIX returns a non-working structure or 'attributes'
Title: Message Title Rich Acosta updated an issue Puppet / PUP-3021 User resource on AIX returns a non-working structure or 'attributes' Change By: Rich Acosta The `user` resource on AIX returns back non-working Puppet code for the 'attributes' key.Example: {code:title=puppet resource user root|borderStyle=solid} # puppet resource user root | tee /tmp/root.ppuser { 'root': ensure => 'present', attributes => {'account_locked' => 'false', 'admin' => 'true', 'auditclasses' => 'general', 'auth1' => 'SYSTEM', 'auth2' => 'NONE', 'core' => '-1', 'cpu' => '-1', 'daemon' => 'true', 'data' => '-1', 'fsize' => '-1', 'histexpire' => '0', 'histsize' => '0', 'host_last_login' => ' njros1ud710 removed . prudential example .com', 'host_last_unsuccessful_login' => ' njros1ud710 removed . prudential example .com', 'login' => 'true', 'loginretries' => '0', 'maxexpired' => '-1', 'maxrepeats' => '8', 'minalpha' => '0', 'mindiff' => '0', 'mindigit' => '0', 'minlen' => '0', 'minloweralpha' => '0', 'minother' => '0', 'minspecialchar' => '0', 'minupperalpha' => '0', 'name' => 'root', 'nofiles' => '2000', 'pwdwarntime' => '0', 'registry' => 'files', 'rlogin' => 'true', 'rss' => '-1', 'stack' => '-1', 'su' => 'true', 'sugroups' => 'ALL', 'system' => 'compat', 'time_last_login' => '1407248916', 'time_last_unsuccessful_login' => '1407184651', 'tpath' => 'nosak', 'tty_last_login' => '/dev/pts/1', 'tty_last_unsuccessful_login' => 'ssh', 'ttys' => 'ALL', 'umask' => '22', 'unsuccessful_login_count' => '0'}, comment => 'root', expiry => '2032-12-31', gid => '0', groups => ['system', 'bin', 'sys', 'security', 'cron', 'audit', 'lp'], home => '/', password => 'WuthH/s1ny/5s', password_max_age => '0', password_min_age => '0', shell=> '/bin/ksh', uid => '0',}{code} And then running the same code through puppet apply: {code:title=puppet apply root.pp|borderStyle=solid} # puppet apply /tmp/root.ppNotice: Compiled catalog for myhost.example.com in environment production in 0.28 secondsError: Parameter attributes failed on User[root]: Attributes value pairs must be separated by an = at /tmp/root.pp:14Wrapped exception:Attributes value pairs must be separated by an ={code} The issue seems to stem from the attributes field. `puppet resource` outputs a key/value object for attributes, while puppet apply seems to expect an array with key=value parts in it as a string.Changing it to an array of key=value pairs results in a still broken setup. Puppet resource outputs several key/value pairs that are NOT items that can be changed via the chuser command it runs under the covers. It should not return the 'name' or the 'system' keys.This was my working root.pp file:{code:title=root.pp} user { 'root': ensure => 'present', attributes => ['account_locked=false', 'admin=true', 'auditclasses=general', 'auth1=SYSTEM', 'auth2=NONE', 'core=-1', 'cpu=-1', 'daemon=true', 'data="" 'fsize=-1', 'histexpire=0', 'histsize=0', '
Jira (PUP-3021) User resource on AIX returns a non-working structure or 'attributes'
Title: Message Title Josh Cooper updated an issue Puppet / PUP-3021 User resource on AIX returns a non-working structure or 'attributes' Change By: Josh Cooper Fix Version/s: PUP 5.y Fix Version/s: PUP 5.5.7 Add Comment This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.46494.1407249153000.17097.1563234301971%40Atlassian.JIRA. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-3021) User resource on AIX returns a non-working structure or 'attributes'
Title: Message Title Josh Cooper commented on PUP-3021 Re: User resource on AIX returns a non-working structure or 'attributes' Merged to 5.5.x in https://github.com/puppetlabs/puppet/commit/67495be0e1a5d924522adb7d83a2a9cf9c910431 and first released in 5.5.7 Add Comment This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.46494.1407249153000.17086.1563234240766%40Atlassian.JIRA. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-3021) User resource on AIX returns a non-working structure or 'attributes'
Title: Message Title Enis Inan updated an issue Puppet / PUP-3021 User resource on AIX returns a non-working structure or 'attributes' Change By: Enis Inan Sprint: Platform OS Kanban Add Comment This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-3021) User resource on AIX returns a non-working structure or 'attributes'
Title: Message Title Enis Inan assigned an issue to Enis Inan Puppet / PUP-3021 User resource on AIX returns a non-working structure or 'attributes' Change By: Enis Inan Assignee: Enis Inan Add Comment This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-3021) User resource on AIX returns a non-working structure or 'attributes'
Title: Message Title Branan Riley updated an issue Puppet / PUP-3021 User resource on AIX returns a non-working structure or 'attributes' Change By: Branan Riley Labels: AIX aix aix-parity cli help_wanted maintenance puppethack triaged type_and_provider user Add Comment This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-3021) User resource on AIX returns a non-working structure or 'attributes'
Title: Message Title Branan Riley updated an issue Puppet / PUP-3021 User resource on AIX returns a non-working structure or 'attributes' Change By: Branan Riley Labels: AIX aix aix-parity help_wanted maintenance puppethack type_and_provider user Add Comment This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-3021) User resource on AIX returns a non-working structure or 'attributes'
Title: Message Title Moses Mendoza updated an issue Puppet / PUP-3021 User resource on AIX returns a non-working structure or 'attributes' Change By: Moses Mendoza Labels: AIX aix-parity help_wanted maintenance puppethack triaged Add Comment This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-3021) User resource on AIX returns a non-working structure or 'attributes'
Title: Message Title Josh Cooper updated an issue Puppet / PUP-3021 User resource on AIX returns a non-working structure or 'attributes' Change By: Josh Cooper Fix Version/s: PUP 4.y Fix Version/s: PUP 5.y Add Comment This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-3021) User resource on AIX returns a non-working structure or 'attributes'
Title: Message Title Rob Lucke updated an issue Puppet / PUP-3021 User resource on AIX returns a non-working structure or 'attributes' Change By: Rob Lucke Labels: AIX aix-parity help_wanted maintenance puppethack triaged Add Comment This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-3021) User resource on AIX returns a non-working structure or 'attributes'
Title: Message Title Josh Cooper updated an issue Puppet / PUP-3021 User resource on AIX returns a non-working structure or 'attributes' Change By: Josh Cooper Team: Agent Add Comment This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-3021) User resource on AIX returns a non-working structure or 'attributes'
Title: Message Title Kenn Hussey updated an issue Puppet / PUP-3021 User resource on AIX returns a non-working structure or 'attributes' Change By: Kenn Hussey Flagged: Impediment Add Comment This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-3021) User resource on AIX returns a non-working structure or 'attributes'
Title: Message Title Kenn Hussey updated an issue Puppet / PUP-3021 User resource on AIX returns a non-working structure or 'attributes' Change By: Kenn Hussey Flagged: Impediment Add Comment This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-3021) User resource on AIX returns a non-working structure or 'attributes'
Title: Message Title Geoff Nichols updated an issue Puppet / PUP-3021 User resource on AIX returns a non-working structure or 'attributes' Change By: Geoff Nichols Labels: AIX aix-parity maintenance puppethack Add Comment This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-3021) User resource on AIX returns a non-working structure or 'attributes'
Title: Message Title Geoff Nichols updated an issue Puppet / PUP-3021 User resource on AIX returns a non-working structure or 'attributes' Change By: Geoff Nichols Labels: AIX aix-parity maintenance Add Comment This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-3021) User resource on AIX returns a non-working structure or 'attributes'
Title: Message Title Geoff Nichols updated an issue Puppet / PUP-3021 User resource on AIX returns a non-working structure or 'attributes' Change By: Geoff Nichols Labels: aix-parity maintenance Add Comment This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-3021) User resource on AIX returns a non-working structure or 'attributes'
Title: Message Title Geoff Nichols updated an issue Puppet / PUP-3021 User resource on AIX returns a non-working structure or 'attributes' Change By: Geoff Nichols Sprint: AP Grooming Add Comment This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-3021) User resource on AIX returns a non-working structure or 'attributes'
Title: Message Title Geoff Nichols updated an issue Puppet / PUP-3021 User resource on AIX returns a non-working structure or 'attributes' Change By: Geoff Nichols Team: Agent & Platform Add Comment This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-3021) User resource on AIX returns a non-working structure or 'attributes'
Title: Message Title Geoff Nichols updated an issue Puppet / PUP-3021 User resource on AIX returns a non-working structure or 'attributes' Change By: Geoff Nichols Sprint: AP Grooming Add Comment This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-3021) User resource on AIX returns a non-working structure or 'attributes'
Title: Message Title Moses Mendoza updated an issue Puppet / PUP-3021 User resource on AIX returns a non-working structure or 'attributes' Change By: Moses Mendoza Labels: aix-parity Add Comment This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-3021) User resource on AIX returns a non-working structure or 'attributes'
Title: Message Title Tony Sirianni commented on PUP-3021 Re: User resource on AIX returns a non-working structure or 'attributes' Enterpise customer, we ran across this same bug this evening. 2015.3 /opt/puppetlabs/bin/puppet -V 4.3.1 Add Comment This message was sent by Atlassian JIRA (v6.4.12#64027-sha1:e3691cc) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-3021) User resource on AIX returns a non-working structure or 'attributes'
Title: Message Title Gilles Pion updated an issue Puppet / PUP-3021 User resource on AIX returns a non-working structure or 'attributes' Change By: Gilles Pion Affects Version/s: PUP 4.2.2 Add Comment This message was sent by Atlassian JIRA (v6.4.11#64026-sha1:78f6ec4) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-3021) User resource on AIX returns a non-working structure or 'attributes'
Title: Message Title Gilles Pion commented on PUP-3021 Re: User resource on AIX returns a non-working structure or 'attributes' Still getting that issue with a freshly deployed puppet (version 4.2.2) Add Comment This message was sent by Atlassian JIRA (v6.4.11#64026-sha1:78f6ec4) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-3021) User resource on AIX returns a non-working structure or 'attributes'
Title: Message Title Eric Sorenson updated an issue Puppet / PUP-3021 User resource on AIX returns a non-working structure or 'attributes' Change By: Eric Sorenson Story Points: 3 Add Comment This message was sent by Atlassian JIRA (v6.3.7#6337-sha1:2ed701e) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-3021) User resource on AIX returns a non-working structure or 'attributes'
Title: Message Title Eric Sorenson updated an issue Puppet / PUP-3021 User resource on AIX returns a non-working structure or 'attributes' Change By: Eric Sorenson Fix Version/s: PUP 4.0.0 Fix Version/s: PUP 4.x Add Comment This message was sent by Atlassian JIRA (v6.3.7#6337-sha1:2ed701e) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-3021) User resource on AIX returns a non-working structure or 'attributes'
Title: Message Title Kylo Ginsberg updated an issue Puppet / PUP-3021 User resource on AIX returns a non-working structure or 'attributes' Change By: Kylo Ginsberg Fix Version/s: 4.x Fix Version/s: 4.0.0 Add Comment This message was sent by Atlassian JIRA (v6.1.4#6159-sha1:44eaede) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-3021) User resource on AIX returns a non-working structure or 'attributes'
Title: Message Title Steve Barlow updated an issue Puppet / PUP-3021 User resource on AIX returns a non-working structure or 'attributes' Change By: Steve Barlow Sprint: 2014-08-20 Add Comment This message was sent by Atlassian JIRA (v6.1.4#6159-sha1:44eaede) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-3021) User resource on AIX returns a non-working structure or 'attributes'
Title: Message Title Kylo Ginsberg commented on an issue Re: User resource on AIX returns a non-working structure or 'attributes' Reminder not to let this roll over to the next sprint. Add Comment Puppet / PUP-3021 User resource on AIX returns a non-working structure or 'attributes' The `user` resource on AIX returns back non-working Puppet code for the 'attributes' key. Example: {code:title=puppet resource user root|borderStyle=solid} # puppet resource user root | tee /tmp/root.pp user { 'root': ensure => 'present', attributes => {'account_locked' => 'false', 'admin' => 'true', 'auditclasses' => 'gene... This message was sent by Atlassian JIRA (v6.1.4#6159-sha1:44eaede) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-3021) User resource on AIX returns a non-working structure or 'attributes'
Title: Message Title Adrien Thebo assigned an issue to Unassigned Puppet / PUP-3021 User resource on AIX returns a non-working structure or 'attributes' Change By: Adrien Thebo Assignee: Adrien Thebo Add Comment This message was sent by Atlassian JIRA (v6.1.4#6159-sha1:44eaede) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-3021) User resource on AIX returns a non-working structure or 'attributes'
Title: Message Title Eric Sorenson commented on an issue Re: User resource on AIX returns a non-working structure or 'attributes' Gonna remove this from being a 3.7.0 blocker. Add Comment Puppet / PUP-3021 User resource on AIX returns a non-working structure or 'attributes' The `user` resource on AIX returns back non-working Puppet code for the 'attributes' key. Example: {code:title=puppet resource user root|borderStyle=solid} # puppet resource user root | tee /tmp/root.pp user { 'root': ensure => 'present', attributes => {'account_locked' => 'false', 'admin' => 'true', 'auditclasses' => 'gene... This message was sent by Atlassian JIRA (v6.1.4#6159-sha1:44eaede) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-3021) User resource on AIX returns a non-working structure or 'attributes'
Title: Message Title Eric Sorenson updated an issue Puppet / PUP-3021 User resource on AIX returns a non-working structure or 'attributes' Change By: Eric Sorenson Fix Version/s: 3.7.0 Fix Version/s: 4.x Add Comment This message was sent by Atlassian JIRA (v6.1.4#6159-sha1:44eaede) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-3021) User resource on AIX returns a non-working structure or 'attributes'
Title: Message Title Adrien Thebo assigned an issue to Adrien Thebo Puppet / PUP-3021 User resource on AIX returns a non-working structure or 'attributes' Change By: Adrien Thebo Assignee: Adrien Thebo Add Comment This message was sent by Atlassian JIRA (v6.1.4#6159-sha1:44eaede) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-3021) User resource on AIX returns a non-working structure or 'attributes'
Title: Message Title Kylo Ginsberg updated an issue Puppet / PUP-3021 User resource on AIX returns a non-working structure or 'attributes' Change By: Kylo Ginsberg Sprint: 2014-08-20 Add Comment This message was sent by Atlassian JIRA (v6.1.4#6159-sha1:44eaede) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-3021) User resource on AIX returns a non-working structure or 'attributes'
Title: Message Title Rich Acosta updated an issue Puppet / PUP-3021 User resource on AIX returns a non-working structure or 'attributes' Change By: Rich Acosta The `user` resource on AIX returns back non-working Puppet code for the 'attributes' key.Example:{code:title=puppet resource user root|borderStyle=solid}# puppet resource user root | tee /tmp/root.ppuser { 'root': ensure => 'present', attributes => {'account_locked' => 'false', 'admin' => 'true', 'auditclasses' => 'general', 'auth1' => 'SYSTEM', 'auth2' => 'NONE', 'core' => '-1', 'cpu' => '-1', 'daemon' => 'true', 'data' => '-1', 'fsize' => '-1', 'histexpire' => '0', 'histsize' => '0', 'host_last_login' => 'njros1ud710.prudential.com', 'host_last_unsuccessful_login' => 'njros1ud710.prudential.com', 'login' => 'true', 'loginretries' => '0', 'maxexpired' => '-1', 'maxrepeats' => '8', 'minalpha' => '0', 'mindiff' => '0', 'mindigit' => '0', 'minlen' => '0', 'minloweralpha' => '0', 'minother' => '0', 'minspecialchar' => '0', 'minupperalpha' => '0', 'name' => 'root', 'nofiles' => '2000', 'pwdwarntime' => '0', 'registry' => 'files', 'rlogin' => 'true', 'rss' => '-1', 'stack' => '-1', 'su' => 'true', 'sugroups' => 'ALL', 'system' => 'compat', 'time_last_login' => '1407248916', 'time_last_unsuccessful_login' => '1407184651', 'tpath' => 'nosak', 'tty_last_login' => '/dev/pts/1', 'tty_last_unsuccessful_login' => 'ssh', 'ttys' => 'ALL', 'umask' => '22', 'unsuccessful_login_count' => '0'}, comment => 'root', expiry => '2032-12-31', gid => '0', groups => ['system', 'bin', 'sys', 'security', 'cron', 'audit', 'lp'], home => '/', password => 'WuthH/s1ny/5s', password_max_age => '0', password_min_age => '0', shell=> '/bin/ksh', uid => '0',}{code}And then running the same code through puppet apply:{code:title=puppet apply root.pp|borderStyle=solid}# puppet apply /tmp/root.ppNotice: Compiled catalog for paehowpfa142 myhost . prudential example .com in environment production in 0.28 secondsError: Parameter attributes failed on User[root]: Attributes value pairs must be separated by an = at /tmp/root.pp:14Wrapped exception:Attributes value pairs must be separated by an ={code}The issue seems to stem from the attributes field. `puppet resource` outputs a key/value object for attributes, while puppet apply seems to expect an array with key=value parts in it as a string.Changing it to an array of key=value pairs results in a still broken setup. Puppet resource outputs several key/value pairs that are NOT items that can be changed via the chuser command it runs under the covers. It should not return the 'name' or the 'system' keys.This was my working root.pp file:{code:title=root.pp}user { 'root': ensure => 'present', attributes => ['account_locked=false', 'admin=true', 'auditclasses=general', 'auth1=SYSTEM', 'auth2=NONE', 'core=-1', 'cpu=-1', 'daemon=true', 'data="" /> comment => 'root', expiry => '2032-12-31', gid => '0', groups => ['system', 'bin', 'sys', 'security', 'cron', 'audit', 'lp'], home => '/', password => ' WuthH/s1ny/5s fakepass ', password_max_age => '0', password_min_age => '0', shell=> '/bin/ksh', uid => '0',}{code}PS:
Jira (PUP-3021) User resource on AIX returns a non-working structure or 'attributes'
Title: Message Title Kylo Ginsberg updated an issue Puppet / PUP-3021 User resource on AIX returns a non-working structure or 'attributes' Change By: Kylo Ginsberg Story Points: 3 Add Comment This message was sent by Atlassian JIRA (v6.1.4#6159-sha1:44eaede) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-3021) User resource on AIX returns a non-working structure or 'attributes'
Title: Message Title Kylo Ginsberg updated an issue Puppet / PUP-3021 User resource on AIX returns a non-working structure or 'attributes' Change By: Kylo Ginsberg Fix Version/s: 3.7.0 Add Comment This message was sent by Atlassian JIRA (v6.1.4#6159-sha1:44eaede) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-3021) User resource on AIX returns a non-working structure or 'attributes'
Title: Message Title Kylo Ginsberg moved an issue Puppet / PUP-3021 User resource on AIX returns a non-working structure or 'attributes' Change By: Kylo Ginsberg Component/s: Modules Component/s: Types and Providers Affects Version/s: 3.2.3 Workflow: Puppet Enterprise Platform Workflow Key: ENTERPRISE PUP - 271 3021 Project: Puppet Enterprise Add Comment This message was sent by Atlassian JIRA (v6.1.4#6159-sha1:44eaede)
Jira (PUP-3021) User resource on AIX returns a non-working structure or 'attributes'
Title: Message Title Kylo Ginsberg commented on an issue Re: User resource on AIX returns a non-working structure or 'attributes' This looks like a puppet bug so I moved the ticket to PUP. It was found in PE 3.2.3. Add Comment Puppet / PUP-3021 User resource on AIX returns a non-working structure or 'attributes' The `user` resource on AIX returns back non-working Puppet code for the 'attributes' key. Example: {code:title=puppet resource user root|borderStyle=solid} # puppet resource user root | tee /tmp/root.pp user { 'root': ensure => 'present', attributes => {'account_locked' => 'false', 'admin' => 'true', 'auditclasses' => 'gene... This message was sent by Atlassian JIRA (v6.1.4#6159-sha1:44eaede) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.