Mohamed Lrhazi
2011-Apr-07 01:38 UTC
[Puppet Users] $environment in File source not working
am I doing something wrong? this seems to never find my .$env file: source => [ "puppet:///modules/gu_puppet/puppet.conf.$fqdn", "puppet:///modules/gu_puppet/puppet.conf.$environment", "puppet:///modules/gu_puppet/puppet.conf.$operatingsystem", "puppet:///modules/gu_puppet/puppet.conf" ] It does find the $fqdn version if I create one, but not the $environment. and skips to the last version. am using 2.6.3 master and 2.6.6 client. Thanks, Mohamed. -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Nigel Kersten
2011-Apr-07 02:18 UTC
Re: [Puppet Users] $environment in File source not working
On Wed, Apr 6, 2011 at 6:38 PM, Mohamed Lrhazi <lrhazi@gmail.com> wrote:> am I doing something wrong? > > this seems to never find my .$env file: > > source => [ > "puppet:///modules/gu_puppet/puppet.conf.$fqdn", > "puppet:///modules/gu_puppet/puppet.conf.$environment", > "puppet:///modules/gu_puppet/puppet.conf.$operatingsystem", > "puppet:///modules/gu_puppet/puppet.conf" > ] > > It does find the $fqdn version if I create one, but not the > $environment. and skips to the last version. > am using 2.6.3 master and 2.6.6 client.I''d add a notice and/or notify for $environment to check it''s the value you''re expecting it to be. -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
On Wed, Apr 6, 2011 at 9:18 PM, Nigel Kersten <nigel@puppetlabs.com> wrote:> On Wed, Apr 6, 2011 at 6:38 PM, Mohamed Lrhazi <lrhazi@gmail.com> wrote: > > am I doing something wrong? > > > > this seems to never find my .$env file: > > > > source => [ > > "puppet:///modules/gu_puppet/puppet.conf.$fqdn", > > "puppet:///modules/gu_puppet/puppet.conf.$environment", > > "puppet:///modules/gu_puppet/puppet.conf.$operatingsystem", > > "puppet:///modules/gu_puppet/puppet.conf" > > ] > > > > It does find the $fqdn version if I create one, but not the > > $environment. and skips to the last version. > > am using 2.6.3 master and 2.6.6 client. > > Not completely related, but I was under the impression that clientsshouldn''t be higher than the masters, did that change on newer versions? I''d add a notice and/or notify for $environment to check it''s the> value you''re expecting it to be. > > -- > You received this message because you are subscribed to the Google Groups > "Puppet Users" group. > To post to this group, send email to puppet-users@googlegroups.com. > To unsubscribe from this group, send email to > puppet-users+unsubscribe@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/puppet-users?hl=en. > >-- Tony http://blog.tonyskapunk.net -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Nigel Kersten
2011-Apr-07 03:55 UTC
Re: [Puppet Users] $environment in File source not working
On Wed, Apr 6, 2011 at 8:51 PM, Tony G. <tonysk8@gmail.com> wrote:> Not completely related, but I was under the impression that clients > shouldn''t be higher than the masters, did that change on newer versions?No, it hasn''t changed, it''s not supported, even though it may work fine. Always upgrade the master first. -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Mohamed Lrhazi
2011-Apr-07 13:54 UTC
Re: [Puppet Users] $environment in File source not working
Thanks guys, I only read READMEs and RELEASE NOTES when it does not work :) On Wed, Apr 6, 2011 at 11:55 PM, Nigel Kersten <nigel@puppetlabs.com> wrote:> On Wed, Apr 6, 2011 at 8:51 PM, Tony G. <tonysk8@gmail.com> wrote: > >> Not completely related, but I was under the impression that clients >> shouldn''t be higher than the masters, did that change on newer versions? > > No, it hasn''t changed, it''s not supported, even though it may work fine. > > Always upgrade the master first. > > -- > You received this message because you are subscribed to the Google Groups "Puppet Users" group. > To post to this group, send email to puppet-users@googlegroups.com. > To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. > For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en. > >-- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.