diff --git a/manifests/chrome.pp b/manifests/chrome.pp index 8296af7..6797f0b 100644 --- a/manifests/chrome.pp +++ b/manifests/chrome.pp @@ -12,7 +12,7 @@ ensure => directory, path => $chrome_dir, mode => '0755', - require => [Package['Chrome'],Package['1Password 4']]; + require => [Package['Chrome'],Package['1Password 5']]; } file { 'onepassword_chrome_extension': @@ -20,7 +20,7 @@ path => "${chrome_dir}/gkndfifopckmhdkohjeoljlbfnjhekfg.json", source => 'puppet:///modules/onepassword/chrome.json', mode => '0644', - require => [Package['Chrome'],Package['1Password 4'],File['chrome_extensions_dir']]; + require => [Package['Chrome'],Package['1Password 5'],File['chrome_extensions_dir']]; } } diff --git a/manifests/init.pp b/manifests/init.pp index 0941c4a..f5d15e2 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -6,9 +6,9 @@ # include 1password class onepassword { $host = 'd13itkw33a7sus.cloudfront.net' - $path = 'dist/1P/mac4/1Password-4.4.3.zip' + $path = 'dist/1P/mac4/1Password-5.0.1.zip' - package { '1Password 4': + package { '1Password 5': source => "https://${host}/${path}", provider => 'compressed_app' } diff --git a/spec/classes/onepassword_spec.rb b/spec/classes/onepassword_spec.rb index 60547ac..e975dcb 100644 --- a/spec/classes/onepassword_spec.rb +++ b/spec/classes/onepassword_spec.rb @@ -3,7 +3,7 @@ describe 'onepassword' do it do - should contain_package('1Password 4').with({ + should contain_package('1Password 5').with({ :provider => 'compressed_app', }) end