-
-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
16 changed files
with
340 additions
and
38 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -63,4 +63,4 @@ | |
$syslog_protocol = 'udp', | ||
$syslog_port = 514, | ||
$syslog_facility = 'local7', | ||
) { } | ||
) {} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
# == Class: st2::profile::facter | ||
# | ||
# setup custom fact locations | ||
# | ||
# === Parameters | ||
# | ||
# This module contains no parameters | ||
# | ||
# === Variables | ||
# | ||
# This module contains no variables | ||
# | ||
# === Examples | ||
# | ||
# include st2::profile::facter | ||
# | ||
class st2::profile::facter { | ||
# The hackery is strong. Not sure where else to hack this in. | ||
file{'/etc/facter': | ||
ensure => 'directory', | ||
owner => 'root', | ||
group => 'root', | ||
mode => '0444' | ||
} | ||
|
||
file{'/etc/facter/facts.d': | ||
ensure => 'directory', | ||
owner => 'root', | ||
group => 'root', | ||
mode => '0444', | ||
require => File['/etc/facter'] | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
# == Class: st2::profile::python | ||
# | ||
# Installation of st2 required repos | ||
# | ||
# === Parameters | ||
# | ||
# This module contains no parameters | ||
# | ||
# === Variables | ||
# | ||
# This module contains no variables | ||
# | ||
# === Examples | ||
# | ||
# include st2::profile::repos | ||
# | ||
class st2::profile::repos { | ||
if $::osfamily == "RedHat" { | ||
require epel | ||
|
||
if $operatingsystemmajrelease == '6' { | ||
package{'ius-release': | ||
ensure => 'installed', | ||
provider => 'rpm', | ||
source => 'https://dl.iuscommunity.org/pub/ius/stable/CentOS/6/x86_64/ius-release-1.0-14.ius.centos6.noarch.rpm', | ||
install_options => '--nodeps', | ||
require => Yumrepo['epel'] | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.