Jira (PUP-9697) Solaris Crontabs -> puppet resource cron only returns root account

0 views
Skip to first unread message

Jason Stewart (JIRA)

unread,
May 9, 2019, 12:41:03 PM5/9/19
to puppe...@googlegroups.com
Jason Stewart updated an issue
 
Puppet / Bug PUP-9697
Solaris Crontabs -> puppet resource cron only returns root account
Change By: Jason Stewart
*Puppet Version:2018.1.5*
*Puppet Server Version:*
*OS Name/Version: Oracle Linux 7*

Unable to get a cron job from crontab for another user using `puppet resource cron` or `crontab -l` Solaris 11.

This has been set with a .pp code through classification and it uses the `user` resource to set up the cron job. 

Example :

crontab -l -> returns only jobs in the root crontab file.

crontab -l username -> returns only cron jobs in the users crontab.

Puppet Resource Cron will only return the root crontab.

 

*Desired Behavior:*

When running a puppet resource cron it should return all crontabs

*Actual Behavior:*

Only the root accounts crontab is returned on Solaris 11.

 

Cron is created with pp code
  cron { 'my cron job':
           

            command => "my command",
             

            user => "someuser",
       

        }
Add Comment Add Comment
 
This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93)
Atlassian logo

Jason Stewart (JIRA)

unread,
May 9, 2019, 12:41:04 PM5/9/19
to puppe...@googlegroups.com
Jason Stewart created an issue
Issue Type: Bug Bug
Assignee: Henrik Lindberg
Components: Functions
Created: 2019/05/09 9:40 AM
Priority: Normal Normal
Reporter: Jason Stewart

Puppet Version:2018.1.5
Puppet Server Version:
OS Name/Version: Oracle Linux 7

Unable to get a cron job from crontab for another user using `puppet resource cron` or `crontab -l` Solaris 11.

This has been set with a .pp code through classification and it uses the `user` resource to set up the cron job. 

Example :

crontab -l -> returns only jobs in the root crontab file.

crontab -l username -> returns only cron jobs in the users crontab.

Puppet Resource Cron will only return the root crontab.

 

Desired Behavior:

When running a puppet resource cron it should return all crontabs

Actual Behavior:

Only the root accounts crontab is returned on Solaris 11.

 

Cron is created with pp code
  cron

{ 'my cron job':             command => "my command",               user => "someuser",           }

Jason Stewart (JIRA)

unread,
May 9, 2019, 12:42:03 PM5/9/19
to puppe...@googlegroups.com
Jason Stewart updated an issue
Change By: Jason Stewart
*Puppet Version:2018.1.5*
*Puppet Server Version:*
*OS Name/Version: Oracle Linux 7*

Unable to get a cron job from crontab for another user using `puppet resource cron` or `crontab -l` Solaris 11.

This has been set with a .pp code through classification and it uses the `user` resource to set up the cron job. 

Example :

crontab -l -> returns only jobs in the root crontab file.

crontab -l username -> returns only cron jobs in the users crontab.

Puppet Resource Cron will only return the root crontab.

 

*Desired Behavior:*


When running a puppet resource cron it should return all crontabs

*Actual Behavior:*


Only the root accounts crontab is returned on Solaris 11.

 

Cron is created with pp code
  cron { 'my cron job':            
           

command => "my command",              

         

 user => "someuser",        

       

}

Mihai Buzgau (JIRA)

unread,
May 14, 2019, 9:58:03 AM5/14/19
to puppe...@googlegroups.com
Mihai Buzgau updated an issue
Change By: Mihai Buzgau
Team: Platform OS Puppet Romania

Jarret Lavallee (JIRA)

unread,
May 16, 2019, 7:36:03 PM5/16/19
to puppe...@googlegroups.com
Jarret Lavallee updated an issue
Change By: Jarret Lavallee
*Puppet Version:2018.1.5*
*Puppet Server Version:*
*OS Name/Version: Oracle Linux 7 Solaris 11 *


Unable to get a cron job from crontab for another user using `puppet resource cron` or `crontab -l` Solaris 11.

This has been set with a .pp code through classification and it uses the `user` resource to set up the cron job. 

Example :

crontab -l -> returns only jobs in the root crontab file.

crontab -l username -> returns only cron jobs in the users crontab.

Puppet Resource Cron will only return the root crontab.

 

*Desired Behavior:*

When running a puppet resource cron it should return all crontabs

*Actual Behavior:*

Only the root accounts crontab is returned on Solaris 11.

 

Cron is created with pp code
  cron
{ 'my cron job':                        

command => "my command",                        

 user => "someuser",                

}

Jarret Lavallee (JIRA)

unread,
May 16, 2019, 7:37:03 PM5/16/19
to puppe...@googlegroups.com
Jarret Lavallee updated an issue
Change By: Jarret Lavallee
CS Priority: Needs Priority Reviewed

Mihai Buzgau (JIRA)

unread,
May 29, 2019, 5:33:04 AM5/29/19
to puppe...@googlegroups.com

Mihai Buzgau (JIRA)

unread,
May 29, 2019, 5:36:04 AM5/29/19
to puppe...@googlegroups.com

Sebastian Miclea (JIRA)

unread,
Jun 11, 2019, 5:11:03 AM6/11/19
to puppe...@googlegroups.com

Mihai Buzgau (JIRA)

unread,
Jun 12, 2019, 4:21:09 AM6/12/19
to puppe...@googlegroups.com
Mihai Buzgau updated an issue
Change By: Mihai Buzgau
Sprint: PR - 2019-06-12 , PR - 2019-06-25

Josh Cooper (JIRA)

unread,
Jun 13, 2019, 2:10:03 PM6/13/19
to puppe...@googlegroups.com

Josh Cooper (JIRA)

unread,
Jun 13, 2019, 2:11:03 PM6/13/19
to puppe...@googlegroups.com

Octavian Larion (JIRA)

unread,
Jun 26, 2019, 9:08:03 AM6/26/19
to puppe...@googlegroups.com

Gheorghe Popescu (JIRA)

unread,
Jul 3, 2019, 4:51:03 AM7/3/19
to puppe...@googlegroups.com
Gheorghe Popescu updated an issue
Change By: Gheorghe Popescu
Fix Version/s: PUP 6.4.3
Fix Version/s: PUP 6.0.10

Sebastian Miclea (JIRA)

unread,
Jul 3, 2019, 4:53:03 AM7/3/19
to puppe...@googlegroups.com
Sebastian Miclea updated an issue
Change By: Sebastian Miclea
Release Notes Summary: Fixed reading of crontabs using Puppet for Solaris 11. Now crontabs for all users are listed when running 'puppet resource cron'
Release Notes: Bug Fix

Jean Bond (JIRA)

unread,
Jul 12, 2019, 5:12:02 PM7/12/19
to puppe...@googlegroups.com
Jean Bond updated an issue
Change By: Jean Bond
Labels: resolved-issue-added

Josh Cooper (JIRA)

unread,
Jul 16, 2019, 4:55:03 PM7/16/19
to puppe...@googlegroups.com
Josh Cooper updated an issue
Change By: Josh Cooper
Fix Version/s: PUP 6.6.0
Fix Version/s: PUP 6.4.3
Fix Version/s: PUP 6.0.10

Austin Boyd (JIRA)

unread,
Dec 12, 2019, 9:11:10 AM12/12/19
to puppe...@googlegroups.com
Austin Boyd updated an issue
Change By: Austin Boyd
Zendesk Ticket IDs: 34814
Zendesk Ticket Count: 1
Reply all
Reply to author
Forward
0 new messages