Skip to content

Instantly share code, notes, and snippets.

@jtimberman
Created December 12, 2013 22:17
Show Gist options
  • Save jtimberman/7936565 to your computer and use it in GitHub Desktop.
Save jtimberman/7936565 to your computer and use it in GitHub Desktop.
return unless ['omnios'].include?(node['platform_family'])
directory '/opt/omni/etc' do
recursive true
end
execute 'pkg set-publisher -g http://pkg.omniti.com/omniti-ms/ ms.omniti.com' do
not_if 'pkg publisher ms.omniti.com'
end
execute 'pkg refresh --full' do
ignore_failure true
end
if node['platform_version'].to_i <= 151006
package 'incorporation/jeos/omnios-userland' do
version '11,5.11-0.151006'
end
package 'pkg' do
version '0.5.11,5.11-0.151006'
end
package 'web/ca-bundle' do
version '5.11,5.11-0.151006'
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment