File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -15,6 +15,9 @@ const (
1515 ExternalFacterFile = "/etc/puppetlabs/facter/facts.d/new_installation.yaml"
1616 PuppetPrivKeyPath = "/etc/puppetlabs/puppet/ssl/private_keys"
1717
18+ // Openvox
19+ OpenvoxAgentVersionTurris = "7.37.2"
20+
1821 // Lock and Disabled
1922 AgentDisabledLockFile = "/opt/puppetlabs/puppet/cache/state/agent_disabled.lock"
2023 AgentRunningLockFile = "/opt/puppetlabs/puppet/cache/state/agent_catalog_run.lock"
Original file line number Diff line number Diff line change @@ -167,8 +167,8 @@ func (s *Provisioner) provisionForSuse() error {
167167// provisionForTurris installs puppet via gem on TurrisOS
168168func (s * Provisioner ) provisionForTurris () {
169169 s .webtee .RemoteLogObmondo ([]string {"opkg update" }, s .certName )
170- s .webtee .RemoteLogObmondo ([]string {"opkg install ruby ruby-full ruby-gems" }, s .certName )
170+ s .webtee .RemoteLogObmondo ([]string {"opkg install ruby ruby-stdlib ruby-dev ruby-gems" }, s .certName )
171171
172- installCmd := []string {fmt .Sprintf ("gem install puppet -v %s --no-document" , constant .PuppetVersion )}
172+ installCmd := []string {fmt .Sprintf ("gem install -v %s --no-document openvox " , constant .OpenvoxAgentVersionTurris )}
173173 s .webtee .RemoteLogObmondo (installCmd , s .certName )
174174}
You can’t perform that action at this time.
0 commit comments