Skip to content

Commit

Permalink
Merge 3a75d91 into 71248b6
Browse files Browse the repository at this point in the history
  • Loading branch information
dagobert committed Jan 11, 2019
2 parents 71248b6 + 3a75d91 commit f49994c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions README.md
Expand Up @@ -166,8 +166,8 @@ By default, configuration files managed by tp::conf automatically notify the ser
You can also set custom resource references to point to actual resources you declare in your manifests:

tp::conf { 'bind':
config_file_notify => Service['bind9'],
config_file_require => Package['bind9-server'],
config_file_notify => 'Service[bind9]',
config_file_require => 'Package[bind9-server]',
}

It's possible to manage files with different methods, for example directly providing its content:
Expand Down
4 changes: 2 additions & 2 deletions manifests/conf.pp
Expand Up @@ -105,8 +105,8 @@
# @example to customise notify and require dependencies
#
# tp::conf { 'nginx::nginx_fe.conf':
# config_file_notify => "Service['fe_nginx']",
# config_file_require => "Class['site::fe::nginx']",
# config_file_notify => 'Service[fe_nginx]',
# config_file_require => 'Class[site::fe::nginx]',
# }
#
# @example to disable validation for a configuration file
Expand Down

0 comments on commit f49994c

Please sign in to comment.