diff options
| author | Dan Fandrich <danf@mageia.org> | 2026-02-21 17:54:44 -0800 |
|---|---|---|
| committer | Dan Fandrich <danf@mageia.org> | 2026-02-21 17:55:51 -0800 |
| commit | dff3eec23a755ceb24e758d959f89047263c1039 (patch) | |
| tree | 0dc13f121edfb14d79cbebe160da95dbd7423883 /deployment/common | |
| parent | 62a4955a31799b30b69ca8655a76f19550dde95c (diff) | |
| download | puppet-dff3eec23a755ceb24e758d959f89047263c1039.tar puppet-dff3eec23a755ceb24e758d959f89047263c1039.tar.gz puppet-dff3eec23a755ceb24e758d959f89047263c1039.tar.bz2 puppet-dff3eec23a755ceb24e758d959f89047263c1039.tar.xz puppet-dff3eec23a755ceb24e758d959f89047263c1039.zip | |
Revert "Make things compatible with more recent facter"
This reverts commit 62a4955a31799b30b69ca8655a76f19550dde95c.
It seems Puppet 3.6.2 doesn't support this method:
Error 400 on SERVER: facts is not a hash or array when accessing it with architecture
Diffstat (limited to 'deployment/common')
| -rw-r--r-- | deployment/common/manifests/base_packages.pp | 2 | ||||
| -rw-r--r-- | deployment/common/manifests/export_ssh_keys.pp | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/deployment/common/manifests/base_packages.pp b/deployment/common/manifests/base_packages.pp index 2d7d57d0..091e7c3e 100644 --- a/deployment/common/manifests/base_packages.pp +++ b/deployment/common/manifests/base_packages.pp @@ -16,7 +16,7 @@ class common::base_packages { 'iotop', 'wget'] - if $facts['architecture'] == 'x86_64' { + if $::architecture == 'x86_64' { package { ['mcelog']: } } diff --git a/deployment/common/manifests/export_ssh_keys.pp b/deployment/common/manifests/export_ssh_keys.pp index f8896e7a..55b8f33b 100644 --- a/deployment/common/manifests/export_ssh_keys.pp +++ b/deployment/common/manifests/export_ssh_keys.pp @@ -1,7 +1,7 @@ class common::export_ssh_keys { - @@sshkey { $facts['fqdn']: + @@sshkey { $::fqdn: type => 'rsa', - key => $facts['sshrsakey'], - host_aliases => [$facts['ipaddress'],$facts['hostname']], + key => $::sshrsakey, + host_aliases => [$::ipaddress,$::hostname], } } |
