On Sun, 19 Dec 2010 16:57:06 +0100
Stefan Schulte wrote:
> On Fri, Dec 10, 2010 at 11:31:18AM +0100, Arnau Bria wrote:
> > Hi all,
Hi,
> > When I run the client in nodeb, and add a notify of root_password,
> > I see that nodeb's root_password has a value and it's serviceA!?!?
>
> This can happen
On Fri, Dec 10, 2010 at 11:31:18AM +0100, Arnau Bria wrote:
> Hi all,
>
> We'd like to share a class, and do something like:
>
> class common_defaults {
> [...]
> user { 'root':
>ensure => present,
>password=> $root_password ? {
> 'servi
On Fri, 10 Dec 2010 12:33:39 +0100
Felix Frank wrote:
>
> > We could simply as my previously example.
> > is the selctor correct?
> >
> >password=> $root_password ? {
> > 'serviceA'=> 'passwdA',
> > default => 'passwdB',
> > },
> >
> >
> We could simply as my previously example.
> is the selctor correct?
>
>password=> $root_password ? {
> 'serviceA'=> 'passwdA',
> default => 'passwdB',
> },
>
> I mean, the default has any sense? if not default but ''?
> because if tha
On Fri, 10 Dec 2010 11:43:59 +0100
Felix Frank wrote:
> > nodes.pp
> > nodea {
> > $root_passwd=serviceA
> > include common_defaults
> > }
> >
> > nodeb {
> > include common_defaults
> > }
>
> Hi,
Hi,
> could you be a little less cryptic about the node definitions? (I
> understand
> nodes.pp
> nodea {
> $root_passwd=serviceA
> include common_defaults
> }
>
> nodeb {
> include common_defaults
> }
Hi,
could you be a little less cryptic about the node definitions? (I
understand there may be privacy issues, but the above is censored too
drastically.)
Is it
Hi all,
We'd like to share a class, and do something like:
class common_defaults {
[...]
user { 'root':
ensure => present,
password=> $root_password ? {
'serviceA'=> 'passwdA',
default => 'passwdB',
},
[...]
}
$ro