Use osfamily rather than operatingsystem.
This commit is contained in:
parent
dda7f6f7ba
commit
74a58916d5
|
@ -9,7 +9,7 @@ Puppet::Type.type(:nova_config).provide(
|
|||
:filetype => :flat
|
||||
) do
|
||||
|
||||
confine :operatingsystem => [:debian, :ubuntu]
|
||||
confine :osfamily => [:debian]
|
||||
|
||||
#confine :exists => novaconf
|
||||
text_line :comment, :match => /^\s*#/;
|
||||
|
|
|
@ -9,7 +9,7 @@ Puppet::Type.type(:nova_config).provide(
|
|||
:filetype => :flat
|
||||
) do
|
||||
|
||||
confine :operatingsystem => [:fedora, :redhat, :centos]
|
||||
confine :osfamily => [:redhat]
|
||||
|
||||
#confine :exists => novaconf
|
||||
text_line :comment, :match => /#|\[.*/;
|
||||
|
|
Loading…
Reference in New Issue