Issue #10540 has been updated by Kelsey Hightower.

Now that I am thinking about this, can you use [run 
stages](http://docs.puppetlabs.com/guides/language_guide.html#run-stages) to 
solve your problem?

What if you made a 'puppet' module, which was include by all your nodes, that 
ensures that all nodes run with a certain version of Puppet and any other 
required configurations. Then use puppet run stages to ensure that all the 
resources in your puppet module run first.

In site.pp

    stage{'first': before => Stage['main']}
    
    class {
      'puppet': stage => first;
    }

    node 'node.testing.com' {
      include puppet
    }

Not sure if I'm on the right track with this, I just thought I would throw this 
out there.

----------------------------------------
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: Kelsey Hightower
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.

Reply via email to