Skip to content

Commit

Permalink
SUP-4602 Deprecation of task st0372 and Readme update
Browse files Browse the repository at this point in the history
  • Loading branch information
Aaronoftheages committed Nov 9, 2023
1 parent c0161bd commit 7525ddf
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ The following tasks are no longer being developed and will be deprecated in a fu
| st0317b_purge_node | Use [certificate clean](https://www.puppet.com/docs/puppet/7/server/http_certificate_clean) API to purge nodes |
| st0370_generate_token | Use [puppet access CLI](https://www.puppet.com/docs/pe/latest/rbac_token_auth_intro.html#generate_a_token_using_puppet_access) |
| st0371_puppet_commands | Use [Pe status check](https://forge.puppet.com/modules/puppetlabs/pe_status_check/readme) |
| st0372_os_commands | See documentation on [system configuration](https://portal.perforce.com/s/article/360040232993) |

## Getting Help

Expand Down
3 changes: 3 additions & 0 deletions tasks/st0372_os_commands.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,14 @@

#

# DEPRECATION:
# This script is now Deprecated and will be removed in a further update

declare PT_command
command=$PT_command


echo "This task is deprecated and will be removed in a future release. Please see this module's README for more information"

if [ -e "/etc/sysconfig/pe-puppetserver" ] || [ -e "/etc/default/pe-puppetserver" ] || [ -e "/etc/default/puppetserver" ] || [ -e "/etc/sysconfig/puppetserver" ] # Test to confirm this is a Puppetserver
then
Expand Down

0 comments on commit 7525ddf

Please sign in to comment.