Skip to content

Commit

Permalink
Disable nsd-control for service status
Browse files Browse the repository at this point in the history
Use of nsd-control should be left up to the init system of the platform.
  • Loading branch information
zachfi committed Jul 16, 2019
1 parent e908760 commit ea15ad6
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions manifests/init.pp
Expand Up @@ -33,21 +33,16 @@
ensure => running,
name => $service_name,
enable => true,
status => 'nsd-control status',
require => [
Concat[$config_file],
Exec['nsd-control-setup'],
],
}

concat { $config_file:
owner => 'root',
group => $group,
mode => '0640',
notify => [
Exec['nsd-control reconfig'],
Exec['nsd-control reload'],
],
notify => Service[$service_name],
}

concat::fragment { 'nsd-header':
Expand Down

0 comments on commit ea15ad6

Please sign in to comment.