Skip to content

Commit

Permalink
f
Browse files Browse the repository at this point in the history
  • Loading branch information
glennsarti committed Mar 26, 2018
1 parent 8f4fcfb commit e87adbc
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 13 deletions.
26 changes: 13 additions & 13 deletions manifests/init.pp
Original file line number Diff line number Diff line change
Expand Up @@ -53,19 +53,19 @@
# will move files prior to installation that are known to cause file locks.
#
class puppet_agent (
Pattern[/^x86$/,/^x64$/,/^i386$/,/^i86pc$/,/^amd64$/,/^x86_64$/,/^power$/,/^sun4[uv]$/, /^ppc64le$/, /^aarch64$/, /PowerPC_POWER/] $arch = $::architecture,
$collection = 'PC1',
$is_pe = $::puppet_agent::params::_is_pe,
$manage_pki_dir = true,
$manage_repo = true,
$package_name = $::puppet_agent::params::package_name,
$package_version = $::puppet_agent::params::package_version,
$service_names = $::puppet_agent::params::service_names,
$source = $::puppet_agent::params::_source,
$install_dir = $::puppet_agent::params::install_dir,
$disable_proxy = false,
$install_options = $::puppet_agent::params::install_options,
$msi_move_locked_files = false,
Puppet_agent::Arch $arch = $::architecture,
$collection = 'PC1',
$is_pe = $::puppet_agent::params::_is_pe,
$manage_pki_dir = true,
$manage_repo = true,
$package_name = $::puppet_agent::params::package_name,
$package_version = $::puppet_agent::params::package_version,
$service_names = $::puppet_agent::params::service_names,
$source = $::puppet_agent::params::_source,
$install_dir = $::puppet_agent::params::install_dir,
$disable_proxy = false,
$install_options = $::puppet_agent::params::install_options,
$msi_move_locked_files = false,
) inherits ::puppet_agent::params {

if $::osfamily == 'windows' and $install_dir != undef {
Expand Down
1 change: 1 addition & 0 deletions types/arch.pp
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
type Puppet_agent::Arch = Pattern[/^x86$/,/^x64$/,/^i386$/,/^i86pc$/,/^amd64$/,/^x86_64$/,/^power$/,/^sun4[uv]$/, /^ppc64le$/, /^aarch64$/, /PowerPC_POWER/]

0 comments on commit e87adbc

Please sign in to comment.