This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Puppet::Type.newtype(:entropy_mask) do | |
@desc = "Mask packages in Entropy" | |
ensurable | |
newparam(:name) do | |
desc "Unique name for this mask" | |
end | |
newproperty(:operator) do |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'spec_helper' | |
require 'puppet/type/entropy_mask' | |
require 'puppet/type/entropy_unmask' | |
require 'puppet/type/entropy_splitdebug' | |
require 'puppet/type/entropy_splitdebug_mask' | |
types = { | |
:entropy_mask => Puppet::Type::Entropy_mask, | |
:entropy_unmask => Puppet::Type::Entropy_unmask, | |
:entropy_splitdebug => Puppet::Type::Entropy_splitdebug, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Storage { | |
Name = <%= @hostname %>-sd | |
SDPort = 9103 | |
WorkingDirectory = <%= scope.lookupvar('bacula::real_working_dir') %> | |
Pid Directory = "/var/run" | |
} | |
Director { | |
Name = <%= scope.lookupvar('bacula::director_name') %> | |
Password = "<%= scope.lookupvar('bacula::sd_password') %>" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
u'parameters': { | |
u'ensure': u'present', | |
u'path': u'/data/test', | |
# Missing are job_name, server_name, backup_schedule | |
}, | |
u'title': u'test', | |
u'tags': [u'node', u'backup', u'testnode.localdomain', u'class', u'backup::job', u'job'], | |
u'exported': True, | |
u'file': u'/home/puppet/production/modules/backup/manifests/init.pp', |
NewerOlder