Issue #10540 has been updated by Jo Rhett.
user { 'cacti':
ensure => present,
home => '/local/home/cacti',
system => true,
uid => 499,
gid => 499,
comment => 'cacti',
shell => '/bin/bash',
managehome => true,
}
Older clients barf on the "system" parameter.
However, aside from puppet issues we have found numerous other upgrade-related
issues. Patches that can't be applied, scripts that won't operate properly
without other upgrade related issues. These aren't puppet-related issues, but
it really would be good if it was possible to use a facter value to produce a
much shortened catalog used to achieve a specific upgrade.
>From what I can tell, even just an "exit" I can use within a block would meet
>my needs.
----------------------------------------
Feature #10540: Allow simplified configuration to upgrade older clients.
https://projects.puppetlabs.com/issues/10540
Author: Jo Rhett
Status: Needs More Information
Priority: Normal
Assignee:
Category:
Target version: 2.6.x
Affected Puppet version:
Keywords:
Branch:
we are having problems with incompatibility between older clients and newer
configuration syntax.
(in specific, user resource system attribute was added somewhere between
2.6.6 and 2.6.11)
It seems the right thing to do for older clients when they attach is to give
them a very short manifest that immediately upgrades them. I'm trying to
figure out how to do this. I want something like this at the top of site.pp
if $puppetversion == '2.6.6' {
class { upgradepuppet: }
stop-parsing-here
}
I'd rather avoid putting all the rest of site.pp inside an else statement if I
can.
--
You have received this notification because you have either subscribed to it,
or are involved in it.
To change your notification preferences, please click here:
http://projects.puppetlabs.com/my/account
--
You received this message because you are subscribed to the Google Groups
"Puppet Bugs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/puppet-bugs?hl=en.