Re: [Puppet Users] $environment in File source not working

2011-04-07 Thread Mohamed Lrhazi
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  wrote:
> On Wed, Apr 6, 2011 at 8:51 PM, Tony G.  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+unsubscr...@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+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.



Re: [Puppet Users] $environment in File source not working

2011-04-06 Thread Nigel Kersten
On Wed, Apr 6, 2011 at 8:51 PM, Tony G.  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+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.



Re: [Puppet Users] $environment in File source not working

2011-04-06 Thread Tony G.
On Wed, Apr 6, 2011 at 9:18 PM, Nigel Kersten  wrote:

> On Wed, Apr 6, 2011 at 6:38 PM, Mohamed Lrhazi  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 clients
shouldn'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+unsubscr...@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+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.



Re: [Puppet Users] $environment in File source not working

2011-04-06 Thread Nigel Kersten
On Wed, Apr 6, 2011 at 6:38 PM, Mohamed Lrhazi  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+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.



[Puppet Users] $environment in File source not working

2011-04-06 Thread Mohamed Lrhazi
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+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.