Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
b4ldr committed Aug 11, 2016
1 parent b3869fe commit c7a576a
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 6 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
### 2016-08-08 0.1.8
* only run control-setup if control is enabled

### 2016-08-08 0.1.7
* fix slave_addresses variable scope for future parser

Expand Down
12 changes: 7 additions & 5 deletions manifests/init.pp
Original file line number Diff line number Diff line change
Expand Up @@ -144,11 +144,13 @@
content => template($server_template),
order => '01',
}
exec { 'nsd-control-setup':
command => 'nsd-control-setup',
path => '/usr/bin:/usr/sbin:/usr/local/sbin',
creates => $server_key_file,
require => Package[$package_name],
if $control_enable {
exec { 'nsd-control-setup':
command => 'nsd-control-setup',
path => '/usr/bin:/usr/sbin:/usr/local/sbin',
creates => $server_key_file,
require => Package[$package_name],
}
}
file { [$zonesdir, $zone_subdir]:
ensure => directory,
Expand Down
2 changes: 1 addition & 1 deletion metadata.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "icann-nsd",
"version": "0.1.7",
"version": "0.1.8",
"author": "[email protected]",
"summary": "puppet module to manage NSD",
"license": "Apache-2.0",
Expand Down

0 comments on commit c7a576a

Please sign in to comment.