Skip to content

Commit

Permalink
Puppet8
Browse files Browse the repository at this point in the history
  • Loading branch information
alvagante committed Feb 3, 2024
1 parent 9ff4e53 commit 121dc37
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions docs/proxy.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ and manage proxy settings with:
password: xxx # Optional
no_proxy:
- localhost
- "%{::domain}"
- "%{::fqdn}"
- "%{facts.networking.domain}"
- "%{facts.networking.fqdn}"
scheme: http

You can customise the components for which proxy should be configured, here are the default params:
Expand Down
2 changes: 1 addition & 1 deletion manifests/init.pp
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@
# password: xxx # Optional
# no_proxy:
# - localhost
# - "%{::domain}"
# - "%{facts.networking.domain}"
# scheme: http
#
# @example Define arbitrary resources, with some defaults
Expand Down
2 changes: 1 addition & 1 deletion manifests/puppet/postrun.pp
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
noop($noop_value)
}

$manage_content = tp_content($content, $template, $epp)
$manage_content = tp::content($content, $template, $epp)

File {
owner => 'root',
Expand Down
2 changes: 1 addition & 1 deletion manifests/services/init_script.pp
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
Optional[String] $service_ensure = undef,
Variant[Undef,Boolean,String] $service_enable = undef,
) {
$manage_content = tp_content($content, $template, $epp)
$manage_content = tp::content($content, $template, $epp)
file { "/etc/init.d/${title}":
ensure => $ensure,
content => $manage_content,
Expand Down
2 changes: 1 addition & 1 deletion manifests/services/systemd_script.pp
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
Optional[String] $systemd_after = 'network.target', # lint:ignore:optional_default
Optional[String] $systemd_before = undef,
) {
$manage_content = tp_content($content, $template, $epp)
$manage_content = tp::content($content, $template, $epp)
file { $path:
ensure => $ensure,
content => $manage_content,
Expand Down
2 changes: 1 addition & 1 deletion manifests/tools/create_dir.pp
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
command => $mkdir_command,

Check warning on line 26 in manifests/tools/create_dir.pp

View workflow job for this annotation

GitHub Actions / Syntax validation

indentation of => is not properly aligned (expected in column 13, but found it in column 14) (check: arrow_alignment)
path => $facts['path'],

Check warning on line 27 in manifests/tools/create_dir.pp

View workflow job for this annotation

GitHub Actions / Syntax validation

indentation of => is not properly aligned (expected in column 13, but found it in column 14) (check: arrow_alignment)
creates => $path,

Check warning on line 28 in manifests/tools/create_dir.pp

View workflow job for this annotation

GitHub Actions / Syntax validation

indentation of => is not properly aligned (expected in column 13, but found it in column 14) (check: arrow_alignment)
provider => $command_provider,
#provider => $command_provider,
}

if $facts['os']['family'] != 'windows' {
Expand Down
2 changes: 1 addition & 1 deletion spec/fixtures/hiera.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@
:yaml:
:datadir: './spec/fixtures/hieradata'
:hierarchy:
- '%{::clientcert}'
- '%{trusted.certname}'
- 'common'

0 comments on commit 121dc37

Please sign in to comment.