You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have two profiles, one of which will be removed if the other is present. See the code below. "icloud_setup_disable_ys" is installed. Only that one. However, on each run it tries to remove "icloud_setup_disable" and fails because it can't find the profile.
Error: Execution of '/usr/bin/profiles -R -p icloud_setup_disable' returned 1: profiles uninstall for identifier:'icloud_setup_disable' and user:'root' returned -205 (Unable to locate configuration profile.)
Error: /Stage[main]/Osx_management::Icloud_setup_disable/Mac_profiles_handler::Manage[icloud_setup_disable]/Profile_manager[icloud_setup_disable]/ensure: change from present to absent failed: Execution of '/usr/bin/profiles -R -p icloud_setup_disable' returned 1: profiles uninstall for identifier:'icloud_setup_disable' and user:'root' returned -205 (Unable to locate configuration profile.)
I have two profiles, one of which will be removed if the other is present. See the code below. "icloud_setup_disable_ys" is installed. Only that one. However, on each run it tries to remove "icloud_setup_disable" and fails because it can't find the profile.
mac_profiles_handler::manage {'icloud_setup_disable_ys':
ensure => present,
file_source => template('osx_management/icloud_setup_disable_ys.mobileconfig.erb'),
type => 'template',
}
mac_profiles_handler::manage {'icloud_setup_disable':
ensure => absent,
file_source => 'puppet:///modules/osx_management/icloud_setup_disable.mobileconfig',
}
The text was updated successfully, but these errors were encountered: