Jira (PUP-1949) Add user_attributes type (only modifies existing users)
Title: Message Title Tim Diels created an issue Puppet / PUP-1949 Add user_attributes type (only modifies existing users) Issue Type: Improvement Assignee: Kylo Ginsberg Components: Types and Providers Created: 14/Mar/14 5:23 AM Priority: Minor Reporter: Tim Diels To avoid a too coarse dependency, I suggest addition of the following type: user_attributes. It allows modifying existing users, but never creates/deletes them. This then allows e.g.: class shell { file {'/etc/zshrc': ensure => 'present', owner => 'root', } } class shell::user { require shell user_attributes {'root': shell => '/bin/zsh', } } include shell::user If we had used the user type here, this would have caused a cyclic dependency. Detail: user_attributes has more or less the same attributes as user type, minus ensure and any other attributes related to user creation.
Jira (PUP-1949) Add user_attributes type (only modifies existing users)
Title: Message Title Tim Diels commented on an issue Re: Add user_attributes type (only modifies existing users) On second thought, this can be resolved with an exec { 'chsh'} , and for most attributes it can be resolved with exec {'usermod'} . Those are sufficiently cross-platform for my needs. If adding anything, it'd probably be better to go with a type per attribute: user_shell_attr, user_group_membership, ... to encapsulate the cross-platform provisions. Add Comment Puppet / PUP-1949 Add user_attributes type (only modifies existing users) To avoid a too coarse dependency, I suggest addition of the following type: user_attributes. It allows modifying existing users, but never creates/deletes them. This then allows e.g.: {code} class shell { file {'/etc/zshrc': ensure => 'present', owner => 'root', } } class shell::user { require shell user_attributes {'root... This message was sent by Atlassian JIRA (v6.1.4#6159-sha1:44eaede) -- You received this message because you are subscribed to the Google G
Jira (PUP-1949) Add user_attributes type (only modifies existing users)
Title: Message Title John Duarte updated an issue Puppet / PUP-1949 Add user_attributes type (only modifies existing users) Change By: John Duarte Labels: 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-1949) Add user_attributes type (only modifies existing users)
Title: Message Title Moses Mendoza updated an issue Puppet / PUP-1949 Add user_attributes type (only modifies existing users) Change By: Moses Mendoza Labels: 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.