Skip to content

Commit

Permalink
le fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Patrick Hoolboom committed May 26, 2016
1 parent c0b0a91 commit e9fb1fa
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 4 deletions.
7 changes: 6 additions & 1 deletion manifests/profile/fullinstall.pp
Expand Up @@ -26,15 +26,20 @@
before => Anchor['st2::pre_reqs'],
}

class { '::st2::profile::packagecloud':
before => Anchor['st2::pre_reqs'],
}

anchor { 'st2::bootstrap': }
anchor { 'st2::pre_reqs': }

Anchor['st2::bootstrap']
-> Class['::st2::profile::packagecloud']
-> Class['::st2::profile::rabbitmq']
-> Class['::st2::profile::mongodb']

Anchor['st2::pre_reqs']
-> class { '::st2::profile::server': }
-> class { '::st2::profile::server': }

include ::st2::packs
include ::st2::kvs
Expand Down
15 changes: 15 additions & 0 deletions manifests/profile/packagecloud.pp
@@ -0,0 +1,15 @@
# == Class: st2::profile::packagecloud
#
# This class adds packagecloud repos
#
# === Examples
#
# include st2::profile::packagecloud
#
class st2::profile::packagecloud {

$package_type = $::st2::package_type
packagecloud::repo{'stackstorm/stable':
type => "$package_type"
}
}
4 changes: 1 addition & 3 deletions manifests/profile/server.pp
Expand Up @@ -48,8 +48,6 @@
) inherits st2 {
include '::st2::notices'
include '::st2::params'
require '::st2::dependencies'
require '::st2::package::install'

if $install_st2 == true {
package{'st2':
Expand All @@ -69,7 +67,7 @@
}
}

package{'mistral':
package{'st2mistral':
ensure => 'latest',
}

Expand Down

0 comments on commit e9fb1fa

Please sign in to comment.