Skip to content

Commit

Permalink
Remove legacy top-scope syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
smortex committed Nov 23, 2023
1 parent b6d86a9 commit b6e9b3e
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion manifests/deep_merge.pp
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
$manage_package = $hiera::manage_deep_merge_package

if $manage_package {
::hiera::install { 'deep_merge':
hiera::install { 'deep_merge':
gem_name => $deep_merge_name,
provider => $provider,
gem_version => $deep_merge_version,
Expand Down
2 changes: 1 addition & 1 deletion manifests/eyaml.pp
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
$manage_package = $hiera::manage_eyaml_package

if $manage_package {
::hiera::install { 'eyaml':
hiera::install { 'eyaml':
gem_name => $eyaml_name,
provider => $provider,
gem_version => $eyaml_version,
Expand Down
4 changes: 2 additions & 2 deletions manifests/eyaml_gpg.pp
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,13 @@
}

if $manage_package {
::hiera::install { 'ruby_gpg':
hiera::install { 'ruby_gpg':
gem_name => $ruby_gpg_name,
provider => $provider,
gem_version => $ruby_gpg_version,
gem_source => $ruby_gpg_source,
}
-> ::hiera::install { 'hiera-eyaml-gpg':
-> hiera::install { 'hiera-eyaml-gpg':
gem_name => $eyaml_gpg_name,
provider => $provider,
gem_version => $eyaml_gpg_version,
Expand Down
2 changes: 1 addition & 1 deletion spec/defines/install_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
end
let :pre_condition do
[
'include ::hiera'
'include hiera'
]
end

Expand Down

0 comments on commit b6e9b3e

Please sign in to comment.