Greetings.
I'm running a very old version of puppet 2.7.26 (I am not allowed to update).
I have a profile that includes a bunch of modules.
class profiles::generic
{
include a
include b
include c
class { 'd' :
variable1 => 5,
variable2 => 12
}
}
node 'host1'
{
class { 'profiles::generic' : }
}
node 'host2'
{
class { 'profiles::generic' : }
}
I now want to test a new version of modules c and d on host1, before I push the changes to all of my other hosts. Is there an easy way that I can say something like
node 'host1'
{
class { 'profiles::generic' : }
uninclude c
include ctest
uninclude d
class { 'dtest' :
variable1 => 5,
variable2 => 12
}
}
without having to re-write the entire profile into the host1 definition?
↧