Skip to content

Commit 675a3a6

Browse files
committed
chore: update the openvox version to 8.23.2
Signed-off-by: Sidharth Jawale <sidharth@obmondo.com>
1 parent 1609601 commit 675a3a6

2 files changed

Lines changed: 5 additions & 8 deletions

File tree

constant/constants.go

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,17 +7,14 @@ const (
77
PuppetPackageName = "puppet-agent"
88
PuppetPath = "/sbin:/usr/sbin:/bin:/usr/bin:/opt/puppetlabs/puppet/bin"
99
PuppetConfig = "/etc/puppetlabs/puppet/puppet.conf"
10-
PuppetVersion = "8.23.1"
10+
OpenvoxVersion = "8.24.2"
1111
PuppetMajorVersion = "openvox8"
1212
PuppetCertEnv = "PUPPETCERT"
1313
PuppetPrivKeyEnv = "PUPPETPRIVKEY"
1414
InstallTokenEnv = "TOKEN"
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-
2118
// Lock and Disabled
2219
AgentDisabledLockFile = "/opt/puppetlabs/puppet/cache/state/agent_disabled.lock"
2320
AgentRunningLockFile = "/opt/puppetlabs/puppet/cache/state/agent_catalog_run.lock"

helper/provisioner/provisioner.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ func (s *Provisioner) provisionForDebian() error {
8585
return errors.New("unsupported system architecture")
8686
}
8787

88-
fullPuppetVersion := fmt.Sprintf("%s-1+%s", constant.PuppetVersion, ubuntuVersion)
88+
fullPuppetVersion := fmt.Sprintf("%s-1+%s", constant.OpenvoxVersion, ubuntuVersion)
8989
packageName := fmt.Sprintf("openvox-agent_%s_%s.deb", fullPuppetVersion, runtime.GOARCH)
9090
downloadPath := filepath.Join(tmpDir, packageName)
9191
url := fmt.Sprintf("https://repos.obmondo.com/openvox/apt/pool/%s/o/openvox-agent/%s",
@@ -116,7 +116,7 @@ func (s *Provisioner) provisionForRedHat() error {
116116
return errors.New("unsupported system architecture")
117117
}
118118

119-
fullPuppetVersion := fmt.Sprintf("%s-1.el%s", constant.PuppetVersion, majRelease)
119+
fullPuppetVersion := fmt.Sprintf("%s-1.el%s", constant.OpenvoxVersion, majRelease)
120120
packageName := fmt.Sprintf("openvox-agent-%s.%s", fullPuppetVersion, runtimeArch)
121121
downloadPath := filepath.Join(tmpDir, packageName+".rpm")
122122
url := fmt.Sprintf("https://repos.obmondo.com/openvox/yum/%s/el/%s/%s/%s.rpm",
@@ -148,7 +148,7 @@ func (s *Provisioner) provisionForSuse() error {
148148
return errors.New("unsupported system architecture")
149149
}
150150

151-
fullPuppetVersion := fmt.Sprintf("%s-1.sles%s", constant.PuppetVersion, majRelease)
151+
fullPuppetVersion := fmt.Sprintf("%s-1.sles%s", constant.OpenvoxVersion, majRelease)
152152
packageName := fmt.Sprintf("openvox-agent-%s.%s", fullPuppetVersion, runtimeArch)
153153
downloadPath := filepath.Join(tmpDir, packageName+".rpm")
154154
url := fmt.Sprintf("https://repos.obmondo.com/openvox/sles/%s/%s/%s/%s.rpm",
@@ -169,6 +169,6 @@ func (s *Provisioner) provisionForTurris() {
169169
s.webtee.RemoteLogObmondo([]string{"opkg update"}, s.certName)
170170
s.webtee.RemoteLogObmondo([]string{"opkg install ruby ruby-stdlib ruby-dev ruby-gems"}, s.certName)
171171

172-
installCmd := []string{fmt.Sprintf("gem install -v %s --no-document openvox", constant.OpenvoxAgentVersionTurris)}
172+
installCmd := []string{fmt.Sprintf("gem install -v %s --no-document openvox", constant.OpenvoxVersion)}
173173
s.webtee.RemoteLogObmondo(installCmd, s.certName)
174174
}

0 commit comments

Comments
 (0)